home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
tri_bbs
/
ttdelu10.zip
/
TTDELUSR.DOC
< prev
next >
Wrap
Text File
|
1992-01-09
|
3KB
|
65 lines
TriTel Delete Users v1.0
A utility that will mark inactive callers for deletion.
written in Turbo C++ 1.1
Joseph J Klemmer
My UnKnown BBS (SysOp) (703)780-6890
LICENSE:
You are licensed to use this program free of charge and distribute
it with this documentation. Any other distribution is prohibited
and violates copyright law. You may not modify this program.
DISCLAIMER:
The only guarantee this program comes with it that it will take up
space on your drive! It works on my computer, that's all I can
say. It should work on yours but if it doesn't remember, I warned
you. <grin>
DESCRIPTION:
This program automates some of the maintenance of your USERS.DAT file.
If the date that a user last logged on is greater than the number of
days specified in the configuration file it will mark that user for
deletion. You will be able to set a maximum Security Level; users of
an equal or higher level will be exempt from deletion. The program
will not physically remove the user from the USERS.DAT file. You will
still need to Pack the Users File to do that, so you can toggle the
delete flag manually if you wish not to delete a particular user.
SETUP:
Copy the files TTDELUSR.EXE and TTDELUSR.CFG to your Main TriTel
directory. Then add these lines to your nightly event file:
CD \TRITEL
TTDELUSR
BOARD
You MUST have the configuration file in the same directory as the
program. If you don't, it will not work.
Next you will need to set the configuration file. The layout is
as follows:
C:\TRITEL\MWORK\
90
30
The first line is the path to your main work directory (the one
with USERS.DAT). Don't forget the trailing back slash! The
second line is the number of days since last logon. The last line
is the maximum security level cutoff. In the example above, any
user who hasn't logged on in the last 90 days with a security level
LESS than 30 will be marked for deletion.
FINALE:
Since this utility modifies the USERS.DAT file, it might be a good
idea to make a copy of it before running the program. There should
be no need to but since I'm paranoid anyway...
That's it. Let me know if you find any problems or have any
suggestions.